<%-- 
    Document   : menuBar
    Created on : 31-mar-2014, 12.32.31
    Author     : Marco Berchiatti
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Menù bar</title>
    </head>
    <body>
        <%if(!(session.getAttribute("logged") == null || (session.getAttribute("logged").equals("false")))){%>
        <form action='Controller' method='post' accept-charset='UTF-8'>
            <div id="logstatus">
                &nbsp;&nbsp;Gentile <b><font size="5" color="#7030A0" face="Vladimir Script" style="text-transform: capitalize;"><%=session.getAttribute("name")%></font></b>&nbsp;, al Suo servizio!
                <input type='image' name='hidden'  src="images/logout.png" height="23px" width="21px" align="right" value='logout'/>     
            </div>
        </form>
        <%}%>
        <div id="menu-content">
            <div id="menu">
                <div id="logo">
                     <a href="http://localhost:8080/csm-catering-war/"><img src="images/CSMcatering.png"align="center"></a>
                </div>
                <ul id="navbar">
                    <li id="navbar">
                        <a href="http://localhost:8080/csm-catering-war/">Home</a>
                    </li>
                    <li>
                        <a href="http://localhost:8080/csm-catering-war/menu.jsp">Menù</a>
                    </li>
                    <li>
                        <a href="#">Galleries</a>
                        <ul class="sub-menu">
                            <li>
                                <a href="http://localhost:8080/csm-catering-war/piatti.jsp" align="left">&nbsp;&nbsp;Piatti</a>
                            </li>
                            <li>
                                <a href="http://localhost:8080/csm-catering-war/location.jsp" align="left">&nbsp;&nbsp;Locations</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="http://localhost:8080/csm-catering-war/agenzie.jsp">Agenzie</a>
                    </li>
                    <li>
                        <a href="http://localhost:8080/csm-catering-war/contatti.jsp">Contatti</a>
                    </li>
                    <%if(!(session.getAttribute("logged") == null || (session.getAttribute("logged").equals("false")))){%>
                    <li>
                        <a href="http://localhost:8080/csm-catering-war/Controller?hidden=mycsm"><font color="#7030A0">My CSM</font></a>
                    </li>
                    <%}%>
                </ul>
            </div>
                <div id="hidemenu"></div>
        </div>
    </body>
</html>
